<SCRIPT type="text/javascript">
function submitForm(){
		$("#mainForm").submit();
}
</SCRIPT>
<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="mainForm" action="/${orgi}/manage/system/templetadddo/${templettype!''}/${catagoryid!''}.html" method="post">
		<input type="hidden" name="templettype" value="${templettype!''}"/>
		<div class="artMain">
			<div class="mainCenter">

					<fieldset class="control-group">
						<label class="control-label" for="name">模板名称：</label>
						<div class="controls">
							<input class="span3" required="" maxlength="30"
								 name="name" type="text" 
								data-message="分组名称不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">元素类型：</label>
						<div class="controls">
							<label>
								<input name="code" type="radio" value="layout">布局</label>
							<label>
								<input name="code" type="radio" value="table">表格</label>
							<label>
								<input name="code" type="radio" value="model" checked="checked">元素</label>
							<label>
								<input name="code" type="radio" value="chart">图表</label>
							<label>
								<input name="code" type="radio" value="help">帮助</label>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">模板图标：</label>
						<div class="controls">
							<input class="span3" required="" maxlength="200"
								 name="iconstr" type="text"	
								data-message="分组名称不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>

					
					<fieldset class="control-group">
						<label class="control-label" for="name">备注：</label>
						<div class="controls">
							<textarea name="description" 
								style="width:256px; height:110px; resize:none;" id="" cols="30"
								rows="10"></textarea>
						</div>
					</fieldset>

				</div>
		</div>
		<div class="mainCenter">
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<button class="subButtonStyle" type="button" onclick="submitForm()" >确定</button>
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</form>
	</div>
</div>
